package tools.old.files;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JMenuItem;
import javax.swing.JRadioButton;

public class StudentRegistrerenController implements ActionListener {
	
	public StudentRegistrerenController(JButton button){ 		
			
	} 		
	
	public StudentRegistrerenController(JMenuItem menu){ 		
		
	} 		

	public void actionPerformed(ActionEvent e) {

		if ("registreren".equals(e.getActionCommand())) {
			StudentRegistrerenModel.getInstance().registreren();
		}
		
		if ("StudentToevoegen".equals(e.getActionCommand())) {
			StudentRegistrerenView.getInstance();
		}

		if("Cancel".equals(e.getActionCommand())){
			StudentRegistrerenView.getInstance().dispose();
		}
	}

}
